package cn.cstech.aijia.ui.base.fragments;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import cn.cstech.aijia.R;
import cn.cstech.aijia.ui.base.BaseFragment;

/**
 * Created with Android Studio.
 * Title:SampleFragment
 * Description:
 * Copyright:Copyright (c) 2014
 * Company:中国平安健康保险有限公司
 * Author:Alice
 * Date:15/8/24
 * Time:下午3:44
 * Version 1.0
 */
public class SampleFragment extends BaseFragment {
    private TextView tv_c;

    public SampleFragment() {}

    @Override
    public View onCreateViewCustom(LayoutInflater inflater, ViewGroup container) {
        View view = inflater.inflate(R.layout.fragment_simple, null);
        tv_c = (TextView)view.findViewById(R.id.tv_c);

        Bundle bundle = getArguments();
        if(bundle != null) {
            String c = bundle.getString("c");
            tv_c.setText(c);
        }
        return view;
    }

    @Override
    public void onTitleBarCreate(){

    }

}
